<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>测试js的函数</title>
		<script>
			function a(){
				console.log(789);
			}
			a();
			var b=function(i){
				console.log(778);
				console.log(i);
			}
			function a1(x,y){
				console.log(x+y);
			}
			a1("申驰","778");
			b("吃吃吧");
			var c=function(x,y,z){
				console.log(x+y+z);
			}
			c(7,8,3.1415);
			var d=function(x,y){
				return x%y;
			}
			console.log("方法d返回值是:"+d(15,6));
			function d1(x,y){
				return x+y;
			}
			console.log(d1(7,8));
		</script>
	</head>
	<body>
	</body>
</html>
